package com.example.rbacmanage.controller.app;

import com.example.rbacmanage.common.Result;
import com.example.rbacmanage.entity.app.Tag;
import com.example.rbacmanage.service.app.TagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;


@RestController
@RequestMapping("/app/tag")
public class AppTagController {
    @Autowired
    private TagService tagService;

    @GetMapping("/list")
    public Result list(Tag tag){
        return Result.success(tagService.getAll(tag));
    }

}
